Hi Tapio, No idea what that might be. I haven't heard of this before. What Version of Mach3 and KMotion are you using? Could you post your GCode and indicate where it freezes? Is the Spindle Speed displayed correctly and updating when the machine is "frozen"? When your machine is "frozen" please run KMotion.exe and enter "CheckDoneBuf" and "ExecTime" on the Console screen and report what is displayed. That might indicate if KFLOP has been told to execute motion or not and be a clue.
Any other observations that might give us clues?
Regards TK
Group: DynoMotion |
Message: 9086 |
From: tapiolarikka |
Date: 2/3/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tom,
I finally got around this again.
This still appears 1-4 times a day
Console shows:
CheckDoneBuf: ExecTime: -1 0.622 0 0.622 0 0.594 0 0.610 0 0.616 0 0.232
I hope this gives you some hints, since I'm totally clueless with this
Rgds, Tapio
|
|
Group: DynoMotion |
Message: 9087 |
From: Tom Kerekes |
Date: 2/3/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tapio, Are those values from one failure? Or one each from different failures? Sorry I don't know what that could be either. Could you provide the other requested information?
Is that 1-4 times per day out of how many passes?
Regards TK
Group: DynoMotion |
Message: 9090 |
From: Tapio Larikka |
Date: 2/3/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tom,
I'll post the g-code tomorrow. To me it looks that
the spindle speed is ok but I'll check again.
It's 1 - 4 times of app. 500 work
cycles
Rgds,
Tapio
----- Original Message -----
Sent: Monday, February 03, 2014 8:13
PM
Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again)
Hi
Tapio, Are those values from one failure? Or one each from
different failures? Sorry I don't know what that could be
either. Could you provide the other requested information?
Is that 1-4 times per day out of how many passes?
Regards
TK
Group: DynoMotion |
Message: 9110 |
From: Tapio Larikka |
Date: 2/5/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tom,
The CheckDoneBuf/ExecTime values per failure/freeze.
I upgraded to KMotion 431r/Mach3Version3.043.066
but no help
Machine units are mm.
Mach screen and truerpm are
updating
I attach the G-code file in two versions to this post. I
usually run the ThreadG76.txt version since it's easier to alter if needed. The
ThreadG32 is where
I marked the part that causes freeze. The freeze is always at
line that begins w/ G32 but not always at the first
G32.
Rgds,
Tapio
----- Original Message -----
Sent: Monday, February 03, 2014 8:13
PM
Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again)
Hi
Tapio, Are those values from one failure? Or one each from
different failures? Sorry I don't know what that could be
either. Could you provide the other requested information?
Is that 1-4 times per day out of how many passes?
Regards
TK
Group: DynoMotion |
Message: 9128 |
From: Tom Kerekes |
Date: 2/6/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tapio, Thanks. The next time it hangs please run the attached program to report KFLOPs internal state and send it to me. Regards TK
Group: DynoMotion |
Message: 9132 |
From: Tapio Larikka |
Date: 2/6/2014 |
Subject: Re: Mach3 Lathe threading? (again) [1 Attachment] |
Hi Tom,
Thanks, I run this.
Should this be run from KMotion or should I paste
this to the MachNotify.c?
Rgds,
Tapio
----- Original Message -----
Sent: Thursday, February 06, 2014 8:21
PM
Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again) [1 Attachment]
Hi
Tapio, Thanks. The next time it hangs please run the attached
program to report KFLOPs internal state and send it to
me. Regards TK
Group: DynoMotion |
Message: 9134 |
From: Tapio Larikka |
Date: 2/6/2014 |
Subject: Re: Mach3 Lathe threading? (again) [1 Attachment] |
Hi Tom,
I just realized: Could this issue be related to
clock problem in my contoller PC running Mach?
For some reason the clock visible on XP taskbar
occasionally jumps back and forth, sometimes over an hour.
Shuttle support just notified me that I should
update the BIOS. I'll try that tomorrow
Rgds,
Tapio
----- Original Message -----
Sent: Thursday, February 06, 2014 8:21
PM
Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again) [1 Attachment]
Hi
Tapio, Thanks. The next time it hangs please run the attached
program to report KFLOPs internal state and send it to
me. Regards TK
Group: DynoMotion |
Message: 9135 |
From: ericncn |
Date: 2/6/2014 |
Subject: Re: Mach3 Lathe threading? (again) [1 Attachment] |
I experience same issue and am NOT running Mach. Just KmotionCNC on a old Windows XP PC. T he clock on the taskbar jumps forth and back. I believe it's late for dinner, I start shutting down everything, and then it's not late anymore...
EC ---In DynoMotion@yahoogroups.com, <tapio.larikka@...> wrote:
Hi Tom, I just realized: Could this issue be related to
clock problem in my contoller PC running Mach? For some reason the clock visible on XP taskbar
occasionally jumps back and forth, sometimes over an hour. Shuttle support just notified me that I should
update the BIOS. I'll try that tomorrow Rgds, Tapio ----- Original Message ----- Sent: Thursday, February 06, 2014 8:21
PM Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again) [1 Attachment]
Hi
Tapio, Thanks. The next time it hangs please run the attached
program to report KFLOPs internal state and send it to
me. Regards TK
Group: DynoMotion |
Message: 9142 |
From: Tom Kerekes |
Date: 2/6/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tapio, I can't see how that would cause a problem. But possibly in Mach3. Regards TK
Group: DynoMotion |
Message: 9160 |
From: Tom Kerekes |
Date: 2/7/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi EC/Tapio,
Hmmm that is very interesting. Actually I'm aware of a 3rd customer that doesn't use KMotionCNC or Mach3 and has issues with the Windows Taskbar System Time changing. He has a custom application and it sometimes cause his App to hang and then resumes by itself after and hour. He ran for years the same software and application with no problems. Then upgraded his PC and the problems began. I suppose that would indicate it is either an issue in our KMotion
Libraries or the FTDI USB Driver or just a problem with Windows itself.
Please check the FTDI USB Driver Version you are using. Control Panel | Device Manager | USB Controllers | KFLOP Motion Controller 4.XX | Properties | Driver my Version is 2.8.14.0 Upgrade driver from <KMotion Install Directory>\USB Drivers if not the latest version.
EC,
Are you saying if you only close KMotionCNC the time reverts to normal??
Thanks TK
Group: DynoMotion |
Message: 9163 |
From: ericncn |
Date: 2/7/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
No, I didn't mean that. I typically do a single KmotionCNC session that can last several hours. During that single session, from time to time I take a glance at the taskbar clock but readings are a bit random. Sometimes I read a time that is "earlier" than previous reading. Sometimes it's much "later" than I expected to be, and then it's "early" again.
Regards EC ---In DynoMotion@yahoogroups.com, <tk@...> wrote:
EC,
Are you saying if you only close KMotionCNC the time reverts to normal??
Thanks TK
Group: DynoMotion |
Message: 9164 |
From: Tom Kerekes |
Date: 2/7/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi EC,
Thanks for that. Other questions if you don't mind:
Do you use the computer much when not running KMotionCNC?
Have you ever noticed the time wrong when not running KMotionCNC?
If the Time is wrong and you exit KMotionCNC does it correct?
Do you use Windows regional settings other than US English?
Thanks TK
Group: DynoMotion |
Message: 9165 |
From: ericncn |
Date: 2/7/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Ask all the questions you need! :-)
That computer is an old computer that is now part of the milling machine and it's used ONLY for milling. Each time I start it, as the first thing I do I kill all the unnecessary processes then I turn the controller power on and finally I launch KmotionCNC.
Regarding all the other questions I need to check next time I use the milling machine, I'm far from it now.
I wear no watch - that's why I check the clock on the taskbar - but I'll bring one with me so I can answer the other questions. Give me a couple days...
Thank you EC
---In DynoMotion@yahoogroups.com, <tk@...> wrote:
Hi EC,
Thanks for that. Other questions if you don't mind:
Do you use the computer much when not running KMotionCNC?
Have you ever noticed the time wrong when not running KMotionCNC?
If the Time is wrong and you exit KMotionCNC does it correct?
Do you use Windows regional settings other than US English?
Thanks TK
Group: DynoMotion |
Message: 9167 |
From: Tapio Larikka |
Date: 2/7/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Tom /EC,
EC, you say you use your machine only for
milling ie no spindle sync moves (G32) ?
I have my machine set up with dual mode to be
able to mill and turn.
When in mill mode the worst thing I experienced due
to the clock jumping (?) was guys complaining they got off sync with their
coffee breaks.
In Lathe/turn mode there is problem only in
G32/Spindle sync moves
Tom, Did you get the G-code files I attached to my
reply earlier?
If yes then I suppose you noticed that there
is two G76 consecutive commands, but the first translates to G1 and second to
G32(spindle sync) move. The freeze problem is only on the second(G32) part,
never on the first(G1) part of the code.
While googling about for this clock issue I came
across a thread where someone wrote having clock jumping and had found
solution by changing the Bios/Cmos battery.
I also found that battery life is ~ (5years) -
(time to enduser) - (enviromental stress), which in my case could be the
elevated temp due to the enclosure, all adding to ~2 years which is equal to my
PC age. True or not I'll replace the battery and report back on
results.
I also found a thread where someone running ubuntu
on same brand(ShuttleX50V2) had found that enabling daylight saving caused the
clock to jump.
I disabled daylight saving but it did not help on
this problem.
I have my regional settings as US English, as is
timezone and keyboard also.
My WinXP is actually "MicroXP", a custom setup w/
bare minimum amout of processes running.
Rgds,
Tapio
----- Original Message -----
Sent: Saturday, February 08, 2014 1:24
AM
Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again)
Ask all the questions you need! :-)
That
computer is an old computer that is now part of the milling machine and it's
used ONLY for milling. Each time I start it, as the first thing I do I
kill all the unnecessary processes then I turn the controller power on and
finally I launch KmotionCNC.
Regarding
all the other questions I need to check next time I use the milling machine,
I'm far from it now.
I
wear no watch - that's why I check the clock on the taskbar - but I'll bring
one with me so I can answer the other questions. Give me a couple days...
Thank
you
EC
---In DynoMotion@yahoogroups.com, <tk@...>
wrote:
Hi EC,
Thanks
for that. Other questions if you don't mind:
Do
you use the computer much when not running KMotionCNC?
Have
you ever noticed the time wrong when not running KMotionCNC?
If
the Time is wrong and you exit KMotionCNC does it correct?
Do you use Windows regional settings other than US English?
Thanks
TK
Group: DynoMotion |
Message: 9168 |
From: ericncn |
Date: 2/8/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
> EC, you say you use your machine only for
milling ie no spindle sync moves (G32)? > I have my machine set up with dual mode to be
able to mill and turn. > When in mill mode the worst thing I experienced due
to the clock jumping (?) was > guys complaining they got off sync with their
coffee breaks.
Yes, NO turning. It's a plain simple 3 axis milling machine. I don't even know what G32 is. I get no freezes no other problems except that sometimes I'm late for dinner because of the wrong clock time.
Really a minor issue for me. I'd never reported it, but as you were mentioning it I thought I had to join the discussion and confirm...
Regards EC
In Lathe/turn mode there is problem only in
G32/Spindle sync moves Tom, Did you get the G-code files I attached to my
reply earlier? If yes then I suppose you noticed that there
is two G76 consecutive commands, but the first translates to G1 and second to
G32(spindle sync) move. The freeze problem is only on the second(G32) part,
never on the first(G1) part of the code. While googling about for this clock issue I came
across a thread where someone wrote having clock jumping and had found
solution by changing the Bios/Cmos battery. I also found that battery life is ~ (5years) -
(time to enduser) - (enviromental stress), which in my case could be the
elevated temp due to the enclosure, all adding to ~2 years which is equal to my
PC age. True or not I'll replace the battery and report back on
results. I also found a thread where someone running ubuntu
on same brand(ShuttleX50V2) had found that enabling daylight saving caused the
clock to jump. I disabled daylight saving but it did not help on
this problem. I have my regional settings as US English, as is
timezone and keyboard also. My WinXP is actually "MicroXP", a custom setup w/
bare minimum amout of processes running. Rgds, Tapio ----- Original Message ----- Sent: Saturday, February 08, 2014 1:24
AM Subject: Re: [DynoMotion] Mach3 Lathe
threading? (again)
Ask all the questions you need! :-)
That
computer is an old computer that is now part of the milling machine and it's
used ONLY for milling. Each time I start it, as the first thing I do I
kill all the unnecessary processes then I turn the controller power on and
finally I launch KmotionCNC.
Regarding
all the other questions I need to check next time I use the milling machine,
I'm far from it now.
I
wear no watch - that's why I check the clock on the taskbar - but I'll bring
one with me so I can answer the other questions. Give me a couple days...
Thank
you EC
---In DynoMotion@yahoogroups.com, <tk@...>
wrote: Hi EC,
Thanks
for that. Other questions if you don't mind:
Do
you use the computer much when not running KMotionCNC?
Have
you ever noticed the time wrong when not running KMotionCNC?
If
the Time is wrong and you exit KMotionCNC does it correct?
Do you use Windows regional settings other than US English?
Thanks TK
Group: DynoMotion |
Message: 9169 |
From: Tom Kerekes |
Date: 2/8/2014 |
Subject: Re: Mach3 Lathe threading? (again) |
Hi Taio,
Yes I did get the GCode. Thanks. From that it seems like an issue with G32.
I suppose the system clock could be an issue. We (or Mach3) might have an issue where we do something
like "wait/sleep/timeout until a few milliseconds from "now", then suddenly the time changes back by an hour. So now the time will be an hour in the future.
Like you I Googled and there are a lot of hits on time changing due to Motherboard Clock problems. Such as:
http://stackoverflow.com/questions/18995923/windows-8-8-1-system-clock-changing-randomly-while-powered-on-and-in-use
Other hits mention synching to a time server. You might turn that off.
But it may also be a bug in our code. On the next freeze please run that program to display the internal KFLOP state of the G32 Threading variables. Just use KMotion.exe, load the program into any unused Thread, run it, and copy the report from the Console Screen.
Thanks TK
| |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |